package com.example.demo.mapper;


import com.example.demo.pojo.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author xukang
 * @date 2021-09-10 15:34
 */
@Mapper
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserEntity record);

    int insertSelective(UserEntity record);

    UserEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserEntity record);

    int updateByPrimaryKey(UserEntity record);

    List<UserEntity> queryByUser(UserEntity userEntity);

}
